package source

import (
	"../utils"
	"time"
)

var client = utils.NewHttpClient()

type source interface {
	request(u string)
	analyse(content string)
	Start()
}

type category struct {
	base string
	url  string
	cat  string
	fn   func(cat category, buf []byte)
}

type item struct {
	Cat       string
	Name      string
	Aka       string
	Season    string
	Href      string
	UpdateNum string
	Updated   time.Time
}
